home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.2 Development Libraries
/
SGI IRIX 6.2 Development Libraries.iso
/
dist
/
complib.idb
/
usr
/
share
/
catman
/
p_man
/
cat3
/
complib
/
RGG.z
/
RGG
Wrap
Text File
|
1996-03-14
|
5KB
|
133 lines
____RRRRGGGGGGGG((((3333FFFF)))) ____RRRRGGGGGGGG((((3333FFFF))))
NNNNAAAAMMMMEEEE
RGG, SRGG - EISPACK routine. This subroutine calls the recommended
sequence of subroutines from the eigensystem subroutine package (EISPACK)
to find the eigenvalues and eigenvectors (if desired) for the REAL
GENERAL GENERALIZED eigenproblem Ax = (LAMBDA)Bx.
SSSSYYYYNNNNOOOOPPPPSSSSYYYYSSSS
ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee rrrrgggggggg((((nnnnmmmm,,,, nnnn,,,, aaaa,,,, bbbb,,,, aaaallllffffrrrr,,,, aaaallllffffiiii,,,, bbbbeeeettttaaaa,,,, mmmmaaaattttzzzz,,,, zzzz,,,, iiiieeeerrrrrrrr))))
iiiinnnntttteeeeggggeeeerrrr nnnnmmmm,,,, nnnn,,,, mmmmaaaattttzzzz,,,, iiiieeeerrrrrrrr
ddddoooouuuubbbblllleeee pppprrrreeeecccciiiissssiiiioooonnnn aaaa((((nnnnmmmm,,,,nnnn)))),,,,bbbb((((nnnnmmmm,,,,nnnn)))),,,,aaaallllffffrrrr((((nnnn)))),,,,aaaallllffffiiii((((nnnn)))),,,,bbbbeeeettttaaaa((((nnnn)))),,,,zzzz((((nnnnmmmm,,,,nnnn))))
ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ssssrrrrgggggggg((((nnnnmmmm,,,, nnnn,,,, aaaa,,,, bbbb,,,, aaaallllffffrrrr,,,, aaaallllffffiiii,,,, bbbbeeeettttaaaa,,,, mmmmaaaattttzzzz,,,, zzzz,,,, iiiieeeerrrrrrrr))))
iiiinnnntttteeeeggggeeeerrrr nnnnmmmm,,,, nnnn,,,, mmmmaaaattttzzzz,,,, iiiieeeerrrrrrrr
rrrreeeeaaaallll aaaa((((nnnnmmmm,,,,nnnn)))),,,,bbbb((((nnnnmmmm,,,,nnnn)))),,,,aaaallllffffrrrr((((nnnn)))),,,,aaaallllffffiiii((((nnnn)))),,,,bbbbeeeettttaaaa((((nnnn)))),,,,zzzz((((nnnnmmmm,,,,nnnn))))
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
On Input
NNNNMMMM must be set to the row dimension of the two-dimensional array
parameters as declared in the calling program dimension statement.
NNNN is the order of the matrices A and B.
AAAA contains a real general matrix.
BBBB contains a real general matrix.
MMMMAAAATTTTZZZZ is an integer variable set equal to zero if only eigenvalues are
desired. Otherwise it is set to any non-zero integer for both
eigenvalues and eigenvectors. On Output
AAAALLLLFFFFRRRR and ALFI contain the real and imaginary parts, respectively, of
the numerators of the eigenvalues.
BBBBEEEETTTTAAAA contains the denominators of the eigenvalues, which are thus given
by the ratios (ALFR+I*ALFI)/BETA. Complex conjugate pairs of
eigenvalues appear consecutively with the eigenvalue having the positive
imaginary part first.
ZZZZ contains the real and imaginary parts of the eigenvectors if MATZ is
not zero. If the J-th eigenvalue is real, the J-th column of Z
contains its eigenvector. If the J-th eigenvalue is complex with
positive imaginary part, the J-th and (J+1)-th columns of Z contain the
real and imaginary parts of its eigenvector. The conjugate of this
vector is the eigenvector for the conjugate eigenvalue.
IIIIEEEERRRRRRRR is an integer output variable set equal to an error completion code
described in section 2B of the documentation. The normal completion code
is zero. Questions and comments should be directed to B. S. Garbow,
PPPPaaaaggggeeee 1111
____RRRRGGGGGGGG((((3333FFFF)))) ____RRRRGGGGGGGG((((3333FFFF))))
APPLIED MATHEMATICS DIVISION, ARGONNE NATIONAL LABORATORY
PPPPaaaaggggeeee 2222